#pragma once
#include "PDTStatement.h"
#include "PDTVar.h"
#include "PDTExp.h"

class PDTAssign: public PDTStatement{

public:

	void setTarget(PDTVar &target);
	void setExpression(PDTExp &expression);

	PDTVar * getTarget();
	PDTExp * getExpression();

	PDTAssign(PDTCodeGraph & CG,PDTVar &target,PDTExp &expression);
	NodeTypeEnum getType(){return PDTAssign_Em;}
	bool isPDTAssign(){return true;}

};
